﻿namespace ApiLib.RCL.Components.AutoTable.Models;

/// <summary>
/// 表格字段类型
/// </summary>
public enum TableFieldType
{
    /// <summary>
    /// 输入框，String
    /// </summary>
    Input = 10,

    /// <summary>
    /// 数字输入框，Int
    /// </summary>
    InputNumber = 11,

    /// <summary>
    /// 小数，Double
    /// </summary>
    InputDouble = 12,

    /// <summary>
    /// 文本输入框，String
    /// </summary>
    TextArea = 13,

    /// <summary>
    /// 富文本，String
    /// </summary>
    Markdown = 14,

    /// <summary>
    /// 单选框，String
    /// </summary>
    Radio = 20,

    /// <summary>
    /// 多选框，String
    /// </summary>
    CheckBox = 21,

    /// <summary>
    /// 下拉选项框，Int/String
    /// </summary>
    Select = 22,

    /// <summary>
    /// 下拉多选，String
    /// </summary>
    MultiSelect = 23,

    /// <summary>
    /// 日期时间输入框，Datetime
    /// </summary>
    Date = 30,

    /// <summary>
    /// 日期时间输入框，Datetime
    /// </summary>
    DateRange = 31,

    /// <summary>
    /// 日期时间输入框，Int
    /// </summary>
    DateYear = 32,

    /// <summary>
    /// 日期时间输入框，String(yyyy-MM)
    /// </summary>
    DateMonth = 33,

    /// <summary>
    /// 图片，String
    /// </summary>
    Image = 40,

    /// <summary>
    /// 附件，String
    /// </summary>
    File = 41,
}